	// ActionScript file
	import flash.display.Sprite; 
	import spark.filters.DropShadowFilter; 
	import flash.filters.BitmapFilterQuality;
	
	// Draw a box. 
	var boxShadow:Sprite = new Sprite(); 
	//boxShadow.graphics.lineStyle(1); 
	//boxShadow.graphics.beginFill(0xFF3300); 
	//boxShadow.graphics.drawRect(0, 0, 100, 100); 
	//boxShadow.graphics.endFill(); 
	//addChild(boxShadow); 
	
	
	/**
	 * @name  setShadowFilter 
	 * @param color
	 * @param alpha
	 * @param blurX
	 * @param blurY
	 * @param distance
	 * @param angle
	 * @param strength
	 * @param quality
	 * @return shadowFilter array
	 * 
	 */
	public function setShadowFilter(color=0x000000,alpha=.75,blurX=9,blurY=9,distance=10,angle=90,strength=0.5,quality=BitmapFilterQuality.MEDIUM)
	{
		var shadow:DropShadowFilter = new DropShadowFilter(); 
		shadow.distance = distance; 
		shadow.angle = angle;
		shadow.color=color;
		shadow.alpha=alpha;
		shadow.blurX=blurX;
		shadow.blurY=blurY;
		shadow.strength=strength;
		shadow.quality=quality;
		
		return [shadow];	
	}